package com.george.stock;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * Create By George on /2023/4/10
 * description: 库存服务启动类
 *
 * @author George
 */
@EnableDiscoveryClient
@EnableFeignClients("com.george.common.api.feign")
//排除数据库连接配置
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class StockApplication {

    public static void main(String[] args) {
        SpringApplication.run(StockApplication.class,args);
    }

}
